#ifndef __ATL_DEVFS__
#define __ATL_DEVFS__
#include <cstdint.h>
#include "fs.h"
#include "config.h"
#include <linked_list.h>
#include "process.h"

typedef struct devfs_file {
	process_info_t *driver_process;
	write_fs_t write_hook;
	read_fs_t read_hook;
} devfs_file_t;

typedef struct devfs_dir {
	uint32_t length;
	LLIST *files;
	vfs_node_t *node;
} devfs_dir_t;

void devfs_main();

#endif